home *** CD-ROM | disk | FTP | other *** search
Makefile | 1995-06-02 | 1.2 KB | 57 lines |
-
- ###################################################################
- #
- # Linux configuration section
- #
- ###################################################################
- C++ = gcc
- CFLAGS = -g -O2 -DHAVE_VGA
- LIBS = -lvga -lvgagl -lX11
-
- ###################################################################
- #
- # SGI configuration section
- #
- ###################################################################
- #C++ = CC
- #CFLAGS = -g3 -O2
- #LIBS = -lX11
-
- ###################################################################
-
- SHELL = /bin/sh
-
- SRCS = graphics.cc keyboard.cc x11_keyboard.cc vga_graphics.cc \
- x11_graphics.cc dehacked.cc files.cc input.cc playview.cc \
- print.cc screen.cc linux.cc ttyobj.cc snd2au.cc linux_text.cc
-
- OBJS = graphics.o keyboard.o x11_keyboard.o vga_graphics.o x11_graphics.o \
- dehacked.o files.o input.o playview.o print.o screen.o \
- linux.o ttyobj.o snd2au.o linux_text.o
-
-
- .SUFFIXES: .cc
-
- .cc.o:
- $(C++) -c $(CFLAGS) $<
-
-
- dehacked: $(OBJS)
- $(C++) -o $@ $(OBJS) $(LIBS)
-
- depend:
- $(C++) -M $(SRCS) >.depend
-
- clean:
- rm -f $(OBJS)
-
- spotless: clean
- rm -f dehacked tags .depend *Data *.bak out
- touch .depend
-
- dist: dehacked
- strip dehacked
- cp dehacked ..
-
- include .depend
-